| Constructor and Description |
|---|
CompteurComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Vehicule a,
Vehicule b)
Comparaison de deux voitures, tri par rapport à leur compteur
|
public int compare(Vehicule a, Vehicule b)
compare in interface java.util.Comparator<Vehicule>a - Première voiture à testerb - Seconde voiture à tester